import _ from 'lodash'

export function formatTitle (data) {
  return _.values(data).filter(v => !_.isNil(v)).join('-')
}
